﻿
{$header}<div id="main" class="main" >
    <div class="content">
  <h3 class="heading">新增记录 [ <a href="__URL__">返回列表</a> ]</h3>
<div id="result" class="result none"></div>
<form class="form-horizontal well" method='post' id="form1" action="__URL__/update/">
<table cellpadding=3 cellspacing=3 >
<tr>
	<td class="tRight" >仓库名称：</td>
	<td class="tLeft" >
            <input type="text" name="name" value="{$vo.name}" class="large">
        </td>
</tr>
<tr>
	<td class="tRight" >城市地址：</td>
	<td class="tLeft" >
            <input type="text" name="city" value="{$vo.city}" class="large">
        </td>
</tr>
<tr>
	<td class="tRight" >排序：</td>
	<td class="tLeft" >
            <input type="text" name="sort" value="{$vo.sort}" class="small">
        </td>
</tr>
<tr>
	<td class="tRight" >负责人：</td>
	<td class="tLeft" >
            <select name="user_id">
                <volist name="users" id="ue">
                    <option value="{$key}" <eq name="vo.user_id" value="$key">selected</eq> >{$ue}</option>
                </volist>
            </select>
        </td>
</tr>
<tr>
	<td class="tRight">状态：</td>
	<td class="tLeft"><SELECT class="small bLeft"   name="status">
	<option <eq name="vo.status" value="1" >selected</eq> value="1">启用</option>
	<option <eq name="vo.status" value="0" >selected</eq> value="0">禁用</option>
	</SELECT></td>
</tr>
<tr>
	<td></td>
	<td class="center" width="300">
        <input type="hidden" value="{$vo.id}" name="id">
	<button type="submit" class="btn btn-primary"><i class="icon-ok icon-white"></i> 保存</button>
	<button type="reset" onclick="javascript:history.back()" class="btn btn-primary offset1"><i class="icon-arrow-left icon-white"></i> 返回</button>
	</td>
</tr>
</table>
</form>
</div>
</div>
